<?php

App::import('Vendor', 'ClassEzpdf', array('file' => 'pdf/class.ezpdf.php'));
$pdf = new Cezpdf('letter');
$pdf->ezStartPageNumbers(20, 60, 10, 'right', "deeeee - P�gina {PAGENUM} de {TOTALPAGENUM}", 1);

$pdf->ezText("hola", 9.8, array('justification' => 'full'));

$pdf->ezText("$imp", 6, array('justification' => 'full'));

$pdf->ezStopPageNumbers(1, 1, 0);
$pdf->ezStream();
?>